import { Entity, Column } from 'typeorm';
import { BaseEntity } from '../../common/base.entity';


/**
 * 阿里云 polardb
 *
 */
@Entity()
export class PluginAliyunPolardb extends BaseEntity {

  @Column({ unique: true, comment: 'polardb 阿里云实例id' })
  instanceId: string;
  @Column({ comment: 'polardb 阿里云实例名称' })
  instanceName: string;
  @Column({ default: false, comment: '是否开启监控' })
  isMonitor: boolean;

}
